package com.wl4837.demo2;

// 具体工厂：MySQL连接工厂
public class MySQLConnectionFactory implements DBConnectionFactory {
    @Override
    public DBConnection createConnection() {
        return new MySQLConnection();
    }
}
